﻿//ILogListener.cs
//Copyright (c) 2013 StockSharp LLC, all rights reserved.
//This code module is part of StockSharp library.
//This code is licensed under the GNU GENERAL PUBLIC LICENSE Version 3.
//See the file License.txt for the license details.
//More info on: http://stocksharp.com

namespace StockSharp.Logging
{
	using System.Collections.Generic;

	/// <summary>
	/// Интерфейс класса, который мониторит событие <see cref="ILogSource.Log"/> и сохраняет в некое хранилище.
	/// </summary>
	public interface ILogListener
	{
		/// <summary>
		/// Записать сообщения.
		/// </summary>
		/// <param name="messages">Отладочные сообщения.</param>
		void WriteMessages(IEnumerable<LogMessage> messages);
	}
}